package com.traveling.hztraveling.service;

import com.traveling.hztraveling.entity.po.HzUser;
import com.traveling.hztraveling.entity.po.Password;
import com.traveling.hztraveling.entity.vo.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;

public interface ProfileService {
    Result<HzUser> getProfile(Integer userId);

    Result<HzUser> updateProfile(HzUser hzUser);

    Result<HzUser> updatePassword(Integer userId, Password password);

    Result updateAvatar(Integer userId, MultipartFile file);
}
